﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>  
    <title>My JSP 'login.jsp' starting page</title>
  </head>
  <body>
    <%
      String name = "page";
      //给当前页面page作用域中存值
      pageContext.setAttribute("name", name);
    %>
    <strong> 
      testOne:<%=pageContext.getAttribute("name") %>
    </strong>
    <br/>
    <%
      pageContext.include("testTwo.jsp");
    %>
  </body>
</html>
